import apibase from "@/api/apiBase";
import axios from "axios";

//获取订单列表
export const $getOrderGetList = (params:any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/travel/order/getList',
    data: params,
    instance,
  });
}

//导出人员
export const $orderExport = (params:any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/travel/order/export',
    data: params,
    instance,
  });
}

//获取订单列表-被保人清单
export const $peopleList = (params:any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url:'/travel/order/peopleList',
    data:params,
    instance,
  })
}

//回溯信息
export const $playRecord = (params:any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url:'/travel/order/playRecord',
    data:params,
    instance,
  })
}